package cn.hd01.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.hd01.repository.entity.BookRecord;

public interface BookRecordService extends BaseService<BookRecord, Integer> {
    Page<BookRecord> findAll(BookRecord bookRecord, Pageable pageable);
    
    int updateBookRecordStatus(Integer id, String status);
    
    /*List<BookRecord> findSmsRecord(String beforeTime);*/
    
    List<BookRecord> findSmsRecord(String beginTime, String endTime);
    
    Integer countRecord(Integer customerId);
}
